home *** CD-ROM | disk | FTP | other *** search
/ Strategy Challenges Collection / Strategy Challenges Collection.iso / pc / demo / demodata / menu.dxr / 00139.ls < prev    next >
Encoding:
Text File  |  1996-10-02  |  385 b   |  18 lines

  1. on mouseDown
  2.   buttonHilite()
  3. end
  4.  
  5. on mouseUp
  6.   global gAbort, gBeenThere
  7.   if gAbort = 0 then
  8.     set tempJump to the name of cast the castNum of sprite clickOn()
  9.     set jumpName to chars(tempJump, 1, length(tempJump) - 5)
  10.     puppetSound(0)
  11.     if the number of chars in jumpName < 4 then
  12.       exit
  13.     end if
  14.     PlayDemoFrame(jumpName, "ie")
  15.     set gBeenThere to 0
  16.   end if
  17. end
  18.